#ifndef NET_H
#define NET_H

#include <QDialog>
#include <QtGui>
#include "ycapi.h"

namespace Ui {
    class Net;
}

class Net : public QDialog {
    Q_OBJECT
public:
    Net(QWidget *parent = 0);
    ~Net();
    void SetMainBacklight();
    Ycapi *ycapi;
    QTimer *timeTimer;


protected:
    void changeEvent(QEvent *e);
    bool  eventFilter(QObject *obj, QEvent *event);

private:
    Ui::Net *ui;


private slots:
    void on_pushButton3GClose_clicked();
    void on_pushButton3Gopen_clicked();
    void on_pushButtonYctekWifiTest_clicked();
    void on_pushButtonConnWifi_clicked();
    void on_pushButtonCloseWifi_clicked();
    void on_pushButtonApplyNet_clicked();
    void on_radioButtonDHCPSet_clicked();
    void on_radioButtonStaticIpSet_clicked();
    void on_close_clicked();
};

#endif // NET_H
